#include<stdio.h>
int main()
{
    int year = 0;
    scanf("%d",&year);
    if(year % 4 == 0 && year % 100 != 0)
    printf("%s\n","shi run nian");
    else if(year % 400 == 0)
    printf("%s\n","shi run nian");
    return 0;
}